from django.conf.urls import url

from apps.news import views

urlpatterns = [
    url(r'^detail/(?P<news_id>\d+)$', views.NewsDetailView.as_view(), name='detail'),
    url(r'^news_collect$', views.NewsCollectionView.as_view(), name='news_collect'),
    url(r'^news_comment$', views.NewsCommentView.as_view(), name='news_comment'),
    url(r'^comment_like$', views.CommentLikeView.as_view(), name='comment_like'),
    url(r'^followed_user$', views.FollowUserView.as_view(), name='followed_user'),
    url(r'^other_info$', views.OtherInfoView.as_view(), name='other_info'),
    url(r'^other_news$', views.OtherNewsView.as_view(), name='other_news'),
]
